home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
pvm34b3.zip
/
pvm34b3
/
pvm3
/
src
/
OS2
/
os2src
/
stdlog.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-08-05
|
331b
|
17 lines
#include<stdio.h>
#include<stdarg.h>
void stdlog(char *fmt,...)
/*======================*/
{ FILE *F;
char buf[4086]="";
va_list argptr;
va_start(argptr, fmt);
vsprintf(buf, fmt, argptr);
va_end(argptr);
F=fopen("c:/tmp/log.pvm","at");
if(F){ fprintf(F,buf);
fclose(F);
}
}